package com.ruoyi.web.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 文章管理对象 t_chapter
 * 
 * @author ruoyi
 * @date 2023-10-08
 */
public class TChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long cid;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 文章所属分类 */
    @Excel(name = "文章所属分类")
    private Long ccid;

    /** 超链接 */
    @Excel(name = "超链接")
    private String href;

    /** 文章海报 */
    @Excel(name = "文章海报")
    private String paper;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Integer isshow;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 文章的内容 */
    @Excel(name = "文章的内容")
    private String content;

    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCcid(Long ccid) 
    {
        this.ccid = ccid;
    }

    public Long getCcid() 
    {
        return ccid;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setPaper(String paper) 
    {
        this.paper = paper;
    }

    public String getPaper() 
    {
        return paper;
    }
    public void setIsshow(Integer isshow) 
    {
        this.isshow = isshow;
    }

    public Integer getIsshow() 
    {
        return isshow;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("title", getTitle())
            .append("ccid", getCcid())
            .append("href", getHref())
            .append("paper", getPaper())
            .append("isshow", getIsshow())
            .append("sort", getSort())
            .append("content", getContent())
            .toString();
    }
}
